//
//  WRYFastLoginBtn.m
//  BaiSiBuJie
//
//  Created by wry on 16/5/1.
//  Copyright © 2016年 WRY. All rights reserved.
//

#import "WRYFastLoginBtn.h"

@implementation WRYFastLoginBtn

/**
 *  底部条登陆的自定义按钮
 */
-(void)layoutSubviews
{

    [super layoutSubviews];
    
    
    self.imageView.x=(self.width-self.imageView.width)/2.0;
    self.imageView.y=0;
    
    
    [self.titleLabel sizeToFit];
    
    self.titleLabel.x=(self.width -self.titleLabel.width)/2.0;
    self.titleLabel.y=self.height-self.titleLabel.height;
}
@end
